From d35d82fb3551fea5859add791be5c56bd6e158f0 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 19 Apr 2017 14:08:13 +0100 Subject: [PATCH] build: Rename GSK resource generator script Maintain the naming convention, since we have similar scripts for GDK and GTK already. --- gdk/meson.build | 2 +- gsk/{gen-gsk-resources-xml.py => gen-gsk-gresources-xml.py} | 2 +- gsk/meson.build | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename gsk/{gen-gsk-resources-xml.py => gen-gsk-gresources-xml.py} (93%) diff --git a/gdk/meson.build b/gdk/meson.build index 05fc2af142..08fa70c9ba 100644 --- a/gdk/meson.build +++ b/gdk/meson.build @@ -87,7 +87,7 @@ gdk_private_h_sources = files([ ]) gdk_gresource_xml = configure_file(output : 'gdk.gresource.xml', - input : 'gen-gsk-resources-xml.py', + input : 'gen-gdk-gresources-xml.py', command : [find_program('gen-gdk-gresources-xml.py'), meson.current_source_dir(), '@OUTPUT@']) diff --git a/gsk/gen-gsk-resources-xml.py b/gsk/gen-gsk-gresources-xml.py similarity index 93% rename from gsk/gen-gsk-resources-xml.py rename to gsk/gen-gsk-gresources-xml.py index 46c06bb117..1032d84ad9 100644 --- a/gsk/gen-gsk-resources-xml.py +++ b/gsk/gen-gsk-gresources-xml.py @@ -2,7 +2,7 @@ # # Generate gsk.resources.xml # -# Usage: gen-gsk-resources-xml OUTPUT-FILE [INPUT-FILE1] [INPUT-FILE2] ... +# Usage: gen-gsk-gresources-xml OUTPUT-FILE [INPUT-FILE1] [INPUT-FILE2] ... import os, sys diff --git a/gsk/meson.build b/gsk/meson.build index 28420127dc..6fc681b5e5 100644 --- a/gsk/meson.build +++ b/gsk/meson.build @@ -118,8 +118,8 @@ if have_vulkan endif # have_vulkan gsk_resources_xml = configure_file(output : 'gsk.resources.xml', - input : 'gen-gsk-resources-xml.py', - command : [find_program('gen-gsk-resources-xml.py'), + input : 'gen-gsk-gresources-xml.py', + command : [find_program('gen-gsk-gresources-xml.py'), '@OUTPUT@', gsk_private_source_shaders, gsk_private_vulkan_compiled_shaders, -- 2.30.2